/**
 * TODO JAVADOC
 */
package com.encon.projecttracker.server.data.impl;

import java.util.List;

import org.springframework.beans.factory.InitializingBean;

import com.encon.projecttracker.server.data.QueryManager;
import com.encon.projecttracker.server.data.pojo.Test;

/**
 * The Hibernate Goodness, this gets your record list from the hibernate / spring configuration
 * and returns the object.
 *
 * @author bugg
 *
 */
public class QueryManagerImpl extends AbstractManager implements QueryManager, InitializingBean {

	/* (non-Javadoc)
	 * @see com.encon.projecttracker.server.data.QueryManager#getRecords(java.lang.String, java.lang.String)
	 */
	public List<Test> getRecords(String userId, String sessionId) {
		// TODO Auto-generated method stub
		 List<Test> test = getHibernateTemplate().loadAll(Test.class);
		 return test;
	}

}
